export default function(sex, workTime) {
	const man = uni.getStorageSync('recommendSalary')[0].dictValue.split('-')
	const woman = uni.getStorageSync('recommendSalary')[1].dictValue.split('-')
	const nolimit = uni.getStorageSync('recommendSalary')[2].dictValue.split('-')
	console.log('store/recommendSalary.js打印', man)
	if (sex == 0) {
		if (workTime < 5) {
			return getList(man, 0)
		} else if (workTime < 10) {
			return getList(man, 1)
		} else {
			return getList(man, 2)
		}
	} else if (sex == 1) {
		if (workTime < 5) {
			return getList(woman, 0)
		} else if (workTime < 10) {
			return getList(woman, 1)
		} else {
			return getList(woman, 2)
		}
	} else if (sex == 2) {
		if (workTime < 5) {
			return getList(nolimit, 0)
		} else if (workTime < 10) {
			return getList(nolimit, 1)
		} else {
			return getList(nolimit, 2)
		}
	}
}

function getList(list, index) {
	return list[index].split(',')
}